@font-face 
{
    font-family: ft;
    src: url('../fonts/Inter-VariableFont_slnt,wght.ttf');
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

body 
{
    background-image: url('../images/unsplash_W_5Eakb1598.png');
    background-size: cover;
    background-color: black;
    color: white;
    font : bold 0 ft;
}

a
{
    text-decoration: none;
    color: white;
}

.navbar
{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 2rem;
}

#profile
{
    cursor: pointer;
}

#icon
{
    height: 17rem;
    margin-left: auto;
}

#title
{
    font-size: 2.2rem;
}

h1{
    margin: 0;
}

section{
    display: inline;
    color: orange;
    font-weight: bold;
}

section{
    display: inline;
    color: orange;
    font-weight: bold;
}

.achievements-header
{
    margin: 3rem;
    font-size: 2rem;
}

.achievement-container
{
    display: flex;
    flex-wrap: nowrap;
    margin: 1rem;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    transition: all .2s ease-in-out;
}

#achievement-form
{
    width: 99.5%;
    height: 100%;
}

.actions_check, .actions_close
{
    margin: auto;
}

.actions_check
{
    width: 50px;
    height: 50px;
}

.actions_close
{
    width: 40px;
    height: 40px;
}

.actions_check:hover, .actions_close:hover
{
    cursor: pointer;
    transform: scale(1.10);
}

.user-name
{
    color: white;
    font-size: 2rem;
    margin: 0;
    text-align: center;
    margin: auto;
}

.achievement-info
{
    width: 50%;
    border: orange solid 0.1rem;
    border-radius: 2rem 2rem 2rem 2rem;
    margin: 0;
    text-align: center;
    font-size: 1.2rem;
    padding: 0.7rem;
    height: fit-content;
    margin: auto;
}

.mini-input
{
    width: 10%;
    border-radius: 2rem 2rem 2rem 2rem;
    border: orange solid 0.1rem;
    color: white;
    font-size: 1.2rem;
    padding: 0.7rem;
    background-color: transparent;
    outline: none;
    text-align: center;
    height: fit-content;
    margin: auto;
}

.profile-icon-nav 
{
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}
  
.profile-icon-nav .nav-links 
{
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}
  
.profile-icon-nav .nav-links:hover 
{
    color: orange;
}
  
.profile-icon-nav .closebtn 
{
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

#logout:hover
{
    color: red;
}

#input-field, #input-name-field, #input-name-delete-field
{
    text-align: center;
    padding: 8px 8px 8px 32px;
}

#save-btn-container, #create-btn-container, #delete-btn-container
{
    right: 0;
    text-align: center;
    padding: 8px 8px 8px 32px;
}

#save-btn
{
    border: 0.2rem solid white;
    border-radius: 2rem 2rem 2rem 2rem;
    background-color: transparent;
    text-align: center;
    color: white;
    font-weight: bold;
    cursor: pointer;
    padding: 0.5rem;
}

#save-btn:hover
{
    border: 0.2rem solid orange;
    color: orange;
}

.input-color
{
    border: 0.2rem solid orange;
    border-radius: 2rem 2rem 2rem 2rem;
    background-color: transparent;
    text-align: center;
    color: white;
    font-weight: bold;
    width: 20%;
}

.input-name
{
    border: 0.2rem solid orange;
    border-radius: 2rem 2rem 2rem 2rem;
    background-color: transparent;
    text-align: center;
    color: white;
    font-weight: bold;
    width: 80%;
    padding: 0.7rem;
}

.input-name:focus
{
    outline: none;
}

.input-color:focus
{
    outline: none;
}

#event-based-title
{
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
    padding-left: 5rem;
    
}

@media screen and (max-height: 450px) 
{
    .profile-icon-nav {padding-top: 15px;}
    .profile-icon-nav .nav-links {font-size: 18px;}
}

@media (max-width: 460px) 
{    
    #logo
    {
        width: 0;
    }

    .navbar{
        justify-content: none;
    }

    #event-based-title
    {
        text-align: left;
        margin-right: auto;
        margin-left: 0.1rem;
        padding-left: 0;
    }

    #title
    {
        margin-right: auto;
    }

    .achievements-header
    {
        margin-left: 0;
    }

    .achievement-container
    {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 333px) 
{
    
    #title
    {
        font-size: 1.5rem;
    }

    .achievements-header
    {
        font-size: 1.2rem;
    }

    .achievement-info
    {
        font-size: 1rem;
    }

    #event-based-title
    {
        font-size: 1.2rem;
    }

    #profile
    {
        height: 1.5rem;
    }   
}

@media (max-width: 250px) 
{

    #title
    {
        font-size: 1rem;
    }

    #event-based-title
    {
        font-size: 0.7rem;
    }

    .achievements-header
    {
        font-size: 0.7rem;
    }

    .achievement-info
    {
        font-size: 0.5rem;
    }

    #profile
    {
        height: 1rem;
    }
    
    .navbar
    {
        margin: 1rem;
    }
}

@media (max-width: 160px) 
{
    #title
    {
        font-size: 0.75rem;
    }

    #event-based-title
    {
        font-size: 0.5rem;
    }

    .achievements-header
    {
        font-size: 0.5rem;
    }

    .achievement-info
    {
        font-size: 0.3rem;
    }

    #profile
    {
        height: 0.75rem;
    }
    
    .navbar
    {
        margin: 0.5rem;
    }

}

@media (max-width: 685px) 
{
    #icon
    {
        height: 12rem;
    }
}

@media (max-width: 476px) 
{
    #icon
    {
        height: 9rem;
    }
}

@media (max-width: 360px) 
{
    #icon
    {
        height: 7rem;
    }

}

@media (max-width: 293px) 
{
    #icon
    {
        height: 5rem;
    }
}

@media (max-width: 500px) 
{
    .navbar
    {
        margin-left: 0.1rem;
        margin-right: 0.1rem;
    }
}

@media (max-width: 400px)
{
    #post-achievement-btn
    {
        font-size: 1rem;
    }
}

@media(max-width: 1100px)
{
    .user-name, .achievement-info, .mini-input
    {
        font-size: 1.5rem;
    }
}

@media(max-width: 800px)
{
    .user-name, .achievement-info, .mini-input
    {
        font-size: 1rem;
    }

    .achievement-info
    {
        width: 40%;
    }
}

@media(max-width: 650px)
{
    .actions_check
    {
        width: 40px;
        height: 40px;
    }

    .actions_close
    {
        width: 30px;
        height: 30px;
    }

    .achievement-info
    {
        width: 30%;
    }

    .mini-input
    {
        /* width: 5%; */
        font-size: 0.8rem;
    }
}

@media(max-width: 500px)
{
    .achievement-info
    {
        width: 30%;
    }
}

@media(max-width : 400px)
{
    .achievement-info, .mini-input, .user-name
    {
        font-size: 0.8rem;
    }

    .achievements-header
    {
        font-size: 1.5rem;
    }

    .actions_check
    {
        width: 30px;
        height: 30px;
    }

    .actions_close
    {
        width: 20px;
        height: 20px;
    }
}